package usefulstuffs;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

public class Encoder {
	public static CharSequence encode(String content) {
		try {
			return URLEncoder.encode(content, "UTF-8");
		} catch (UnsupportedEncodingException e) {
			throw new AssertionError(e);
		}
	}
}
